var origin = function (arr, num) {
    let target = null;
    for (let index = 0; index < arr.length; index++) {
        const element = arr[index];
        if (element >= num) {
            return {
                index: index,
                value: element
            };
        }
    }
    return target;
};
module.exports = {
    origin: origin
};
